<?php

    require_once("includes/common.inc.php");
    require_once("includes/model/quizzes.inc.php");

    $type = $_GET['type'];
    
    $vars = array (
        'title' => 'Interactivities',
        'css' => 'css/main_page.css',
        'js' => 'js/main_page.js',
        'types' => getTypes(),
        'contentOfTable' => getFilteredContent($type)
    );

    displayTemplate("main_page.tpl", $vars);

?>